Skip to content

Conversation

@jk-ozlabs
Copy link
Member

Some additional clippy fixups for things that miss CI

Another inline format arg.

Signed-off-by: Jeremy Kerr <[email protected]>
#![allow(clippy::int_plus_one)]
#![allow(clippy::too_many_arguments)]

// clippy may interpret defmt's log macros as those of the log crate, but
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The comment isn't quite right - it does recognise when it's log::warn vs defmt::warn. But we can't act on the advice when it tells us to change log:: ones.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah, gotchya. will update, and see if we can safely clippy in both log and defmt cases.

The format macros may be defmt, which does not allow inline.

Signed-off-by: Jeremy Kerr <[email protected]>
@mkj mkj merged commit 0a0fe88 into CodeConstruct:main Jul 24, 2025
3 checks passed
@jk-ozlabs jk-ozlabs deleted the pr/clippyify branch July 24, 2025 04:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants